﻿@model DCH.Areas.Admin.Models.Player

@{
    ViewBag.Title = "Delete";
}

<h2>Delete Player</h2>

<h3>Are you sure you want to delete this?</h3>
<fieldset>
    <legend>Player</legend>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.Name)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Name)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.Role)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Role)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.Matches)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Matches)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.RunsOrWickets)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.RunsOrWickets)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.TeamName)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.TeamName)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.Stats)
    </div>
    <div class="display-field">
        @Html.Raw(Model.Stats)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.highlight)
    </div>
    <div class="display-field">
        @Html.Raw(Model.highlight)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.image)
    </div>
    <div class="display-field">
       
        <img src="@Url.Content("~/images/player/" + Model.image)" alt="Image"  width="150px" height="150px"/>
    </div>
</fieldset>
@using (Html.BeginForm()) {
    <p>
        <input type="submit" value="Delete" /> |
        @Html.ActionLink("Back to List", "Index")
    </p>
}
